home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
cnet
/
top10lists.lha
/
Top10Lists
/
Top10List
< prev
Wrap
Text File
|
1995-10-07
|
2KB
|
27 lines
/**************************************************************************\
$VER: Dave Letterman's Top 10 Lists, v1.2 (7-Oct-95) by Dotoran!
\**************************************************************************/
options results ; signal on SYNTAX ; signal on ERROR ; signal on IOERR
tr=transmit ; se=sendstring ; bbsidentify name ; bbsname=result
city = 'Buffalo' /* Edit the City your bbs is located in. */
state = 'New York' /* Edit the State your bbs is located in. */
config = 'c d f b c 6 b a 1' /* Edit the Colors & Wait Time. See README! */
parse var config c1' 'c2' 'c3' 'c4' 'c5' 'c6' 'c7' 'c8' 'wt
a=random(1,4,time('s')) ; b=random(1,40,time('s')) ; changewhere "Dave's Top 10!"
call open(f1,'pfiles:Top10Lists/List'||a,'r')
do i=1 to b ; L=readln(f1) ; end i ; call close(f1)
parse var L s'|'e.10'|'e.9'|'e.8'|'e.7'|'e.6'|'e.5'|'e.4'|'e.3'|'e.2'|'e.1
tr 'f1c'c1||center("David Letterman's Top Ten Lister",78)
tr 'c'c2||center("Converted to Amiga CNet by Dotoran.",78)'n1'
tr 'c'c3||center('And From Our Home Office In 'city', 'state':',78)'n1'
tr 'c'c4||center(s,78)'n1c'c5||copies('=',78)'w'wt ; do i=10 to 1 by -1
tr '@4c'c6||right(i,4)'c'c7'> c'c8||e.i'n1w'wt ; end i ; exit
SYNTAX:;ERROR:;IOERR:;e1=' Error: 'rc' ('errortext(rc)')'
e2=' Line: 'left(sigl,4)'File:';gu 1311992;a=result;gu 1311960;b=result;c='"'a||b'"';e2=e2' 'c;tr e1;tr e2;logentry e1;logentry e2
e=sourceline(sigl);do while e~='';e3='Source: 'left(e,37);tr e3;logentry e3;e=substr(e,38);end;bufferflush;exit
/** Last Edited: 7-Oct-95 *************************************************\
\****************************************** Frontiers BBS (716)/823-9892 **/